home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1993…ch: Other People's Memory / ADC Developer CD (1993-03) (''Other People's Memory'')_iso / Dev.CD Mar 93.iso / Development Platforms / Apple II / Essentials / Technical.Notes / IIGS / TN.IIGS.106 < prev    next >
Encoding:
Text File  |  1992-07-15  |  1.6 KB  |  48 lines  |  [TEXT/GEOL]

  1. Apple II
  2. Technical Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5. Apple IIgs
  6. #106: ADB Addendum
  7.  
  8. Written by: Dave Lyons                                              May 1992
  9.  
  10. This Technical Note documents some bits in the ADB SendInfo data byte for
  11. setModes and clearModes.
  12. _____________________________________________________________________________
  13.  
  14. SendInfo is documented in Volume 1 of Apple IIgs Toolbox Reference, but it
  15. doesn't tell you what any of the bits in the setModes/clearModes data byte are
  16. for.  Well, here are the useful ones:
  17.  
  18.  
  19.     Bit  Value  Description
  20.     ---  -----  -------------------------------
  21.      6    $40    Shift+CapsLock=Lowercase mode
  22.      4    $10    Keyboard buffering
  23.      3    $08    Dual-speed keys
  24.      2    $04    Fast space/delete keys
  25.  
  26.  
  27. For example, to turn off keyboard buffering without altering the user's
  28. Battery RAM, you can do the following:
  29.  
  30.              pea 1                   ;number of data bytes
  31.              pushlong #modesToClear  ;pointer to data byte
  32.              pea 5                   ;modeCmd = clearModes
  33.              _SendInfo
  34.              ...
  35.  
  36. modesToClear dc.b $10                ;bit 4 = keyboard buffering
  37.  
  38.  
  39. Note that the user's control panel setting will become current again if they
  40. hit Command-Ctrl-Esc (the system calls the TOBRAMSETUP vector at $E10094 to
  41. update the system from Battery RAM).
  42.  
  43.  
  44. Further Reference
  45. _____________________________________________________________________________
  46.  
  47.    o   Apple IIgs Toolbox Reference, Volume 1
  48.